import instance from "../request"


export const envir = {
    getLeanInfoByDuration: (data) => {
        return instance({
            url: '/lean/getLeanInfoByDuration',
            method: "post",
            data
        })
    },
    getleanViolationByDuration: (data) => {
        return instance({
            url: '/lean/getLeanViolationByDuration',
            method: "post",
            data
        })
    },
    deleteLeanViolation: (data) => {
        return instance({
            url: '/lean/deleteLeanViolation',
            method: "post",
            data
        })
    }
}